<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>登录</title>
<!-- 新 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="resource/dist/css/bootstrap.min.css">
<!-- 可选的Bootstrap主题文件（一般不用引入） -->
<link rel="stylesheet" href="resource/dist/css/bootstrap-theme.min.css">
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="resource/js/common/jquery-1.11.3.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="resource/dist/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="resource/css/login.css">
<script src="resource/js/common/md5.js" ></script>
<script src="resource/js/login.js" ></script>
</head>
 	<body>
        <form action="login.html" id="loginForm" method="post" onsubmit="return false;">
            <div class="mycenter">
            <div class="mysign">
                <div class="col-lg-11 text-center text-info">
                    <h2>请登录</h2>
                </div>
                <div class="col-lg-10">
                    <input type="text" class="form-control" name="username" id="username" placeholder="请输入账号" required autofocus oninvalid="setCustomValidity('请输入账号！');" oninput="setCustomValidity('');"/>
                </div>
                <div class="col-lg-10"></div>
                <div class="col-lg-10">
                    <input type="password" class="form-control" name="password" id="password" placeholder="请输入密码" required autofocus oninvalid="setCustomValidity('请输入密码！');" oninput="setCustomValidity('');"/>
                </div>
                <div class="col-lg-10"></div>
                <div class="col-lg-10">
                    <input type="submit" class="btn btn-success col-lg-12" id="submit" value="登录">
                </div>
                <div class="col-lg-10"></div>
                <div class="col-lg-10 col-center-block" style="display: none;" id="error">
	                <div align="center" style="color: red;">Invalid username or password</div>
	            </div>
            </div>
        	</div>
        </form>
    </body>
</html>
